package com.todo.strategy.online.application.frontend.service;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.strategy.online.iface.request.InsertPlanContentParam;
import com.todo.strategy.online.iface.request.QueryPlanContentByIdParam;
import com.todo.strategy.online.iface.request.RemovePlanContentParam;
import com.todo.strategy.online.iface.request.UpdatePlanContentParam;
import com.todo.strategy.online.iface.response.PlanContentInfoVO;

/**
 * (PlanContent)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:47
 */
public interface PlanContentAggService {

    /**
     * 新增计划清单关联内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> insertPlanContent(InsertPlanContentParam param);

    /**
     * 更新计划清单关联内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> updatePlanContent(UpdatePlanContentParam param);

    /**
     * 删除计划清单关联内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removePlanContent(RemovePlanContentParam param);

    /**
     * 根据计划清单Id查询关联内容列表
     *
     * @param param
     * @return
     */
    BizResponse<PlanContentInfoVO> queryPlanContentById(QueryPlanContentByIdParam param);
}
